container: Don't use to-be-deprecated API
authorBenjamin Otte <otte@redhat.com>
Thu, 30 May 2013 18:02:05 +0000 (20:02 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 30 May 2013 18:02:05 +0000 (20:02 +0200)
Instead, do what that API does manually.

gtk/gtkcontainer.c

index 49bd0930992268f454b62cf8b6271e2cd517785e..a30420d5327080d7877f0a4d1b582e6c402a9b75 100644 (file)
@@ -1870,7 +1870,8 @@ gtk_container_real_check_resize (GtkContainer *container)
     }
   else
     {
-      gtk_container_resize_children (container);
+      gtk_widget_size_allocate (widget, &allocation);
+      gtk_widget_set_allocation (widget, &allocation);
     }
 }